package dao.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import dao.tAverageDateDao;

import entity.tAverageDate;

public class tAverageDateDaoImpl extends HibernateDaoSupport implements tAverageDateDao{
	
	public List<tAverageDate>  queryString(String hql) {
		List<tAverageDate>  list=new ArrayList<tAverageDate>();
		list=this.getHibernateTemplate().find(hql);
		if(list.size()!=0){
			return list;
		}else{
			return null;
		}
	}

}
